package com.bdth.bdthiss.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.bdth.bdthiss.vo.Pagination;
import com.bdth.bdthiss.entity.Rule;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LGP
 * @since 2018-11-13
 */
public interface RuleService extends IService<Rule> {
    Page<Rule> listPages(Pagination pagination, String name, String type, String title);

    Integer listTotal(String name, String type, String title);

    boolean update(Rule bean);

    boolean save(Rule bean);

    boolean delete(Integer id);

    boolean remove(String ids);

    List<Rule> listAll();
}
